package com.com.ruanmeng.demon;

import java.util.List;

/**
 * Created by lenovo on 2017/5/11.
 */

public class LunTanXQM {
    /**
     * msgcode : 100
     * object : {"question":{"compName":"体育总局","content":"内容","createDate":"2017-05-24 15:10:29","ifCollect":1,"image":"","isExpert":0,"nickName":"","questionId":"241D3D0C38CB4076A4E225C23585AC26","replyCount":1,"title":"第二个","typeName":"","userInfoId":"2","userhead":"upload/userhead/2/7B4AAB5CDE3749A68602A2490C02A846.png"},"replies":[{"createDate":"2017-05-24 15:10:42","ifPraise":1,"nickName":"","repContent":"回复","repPraise":1,"replyId":"47BFE2661313413191DF96220E71AC76","userInfoId":"2","userName":"","userhead":"upload/userhead/2/7B4AAB5CDE3749A68602A2490C02A846.png"}]}
     */

    private int msgcode;
    private ObjectBean object;

    public int getMsgcode() {
        return msgcode;
    }

    public void setMsgcode(int msgcode) {
        this.msgcode = msgcode;
    }

    public ObjectBean getObject() {
        return object;
    }

    public void setObject(ObjectBean object) {
        this.object = object;
    }

    public static class ObjectBean {
        /**
         * question : {"compName":"体育总局","content":"内容","createDate":"2017-05-24 15:10:29","ifCollect":1,"image":"","isExpert":0,"nickName":"","questionId":"241D3D0C38CB4076A4E225C23585AC26","replyCount":1,"title":"第二个","typeName":"","userInfoId":"2","userhead":"upload/userhead/2/7B4AAB5CDE3749A68602A2490C02A846.png"}
         * replies : [{"createDate":"2017-05-24 15:10:42","ifPraise":1,"nickName":"","repContent":"回复","repPraise":1,"replyId":"47BFE2661313413191DF96220E71AC76","userInfoId":"2","userName":"","userhead":"upload/userhead/2/7B4AAB5CDE3749A68602A2490C02A846.png"}]
         */

        private QuestionBean question;
        private List<RepliesBean> replies;

        public QuestionBean getQuestion() {
            return question;
        }

        public void setQuestion(QuestionBean question) {
            this.question = question;
        }

        public List<RepliesBean> getReplies() {
            return replies;
        }

        public void setReplies(List<RepliesBean> replies) {
            this.replies = replies;
        }

        public static class QuestionBean {
            /**
             * compName : 体育总局
             * content : 内容
             * createDate : 2017-05-24 15:10:29
             * ifCollect : 1
             * image :
             * isExpert : 0
             * nickName :
             * questionId : 241D3D0C38CB4076A4E225C23585AC26
             * replyCount : 1
             * title : 第二个
             * typeName :
             * userInfoId : 2
             * userhead : upload/userhead/2/7B4AAB5CDE3749A68602A2490C02A846.png
             */

            private String compName;
            private String content;
            private String createDate;
            private int ifCollect;
            private String image;
            private String isExpert;
            private String userName;//
            private String questionId;
            private String replyCount;
            private String title;
            private String typeName;
            private String userInfoId;
            private String userhead;

            public String getCompName() {
                return compName;
            }

            public void setCompName(String compName) {
                this.compName = compName;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getCreateDate() {
                return createDate;
            }

            public void setCreateDate(String createDate) {
                this.createDate = createDate;
            }

            public int getIfCollect() {
                return ifCollect;
            }

            public void setIfCollect(int ifCollect) {
                this.ifCollect = ifCollect;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getIsExpert() {
                return isExpert;
            }

            public void setIsExpert(String isExpert) {
                this.isExpert = isExpert;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public String getQuestionId() {
                return questionId;
            }

            public void setQuestionId(String questionId) {
                this.questionId = questionId;
            }

            public String getReplyCount() {
                return replyCount;
            }

            public void setReplyCount(String replyCount) {
                this.replyCount = replyCount;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getTypeName() {
                return typeName;
            }

            public void setTypeName(String typeName) {
                this.typeName = typeName;
            }

            public String getUserInfoId() {
                return userInfoId;
            }

            public void setUserInfoId(String userInfoId) {
                this.userInfoId = userInfoId;
            }

            public String getUserhead() {
                return userhead;
            }

            public void setUserhead(String userhead) {
                this.userhead = userhead;
            }
        }

        public static class RepliesBean {
            /**
             * createDate : 2017-05-24 15:10:42
             * ifPraise : 1
             * nickName :
             * repContent : 回复
             * repPraise : 1
             * replyId : 47BFE2661313413191DF96220E71AC76
             * userInfoId : 2
             * userName :
             * userhead : upload/userhead/2/7B4AAB5CDE3749A68602A2490C02A846.png
             */

            private String createDate;
            private int ifPraise;
            private String nickName;
            private String repContent;
            private int repPraise;
            private String replyId;
            private String userInfoId;
            private String userName;
            private String userhead;

            public String getCreateDate() {
                return createDate;
            }

            public void setCreateDate(String createDate) {
                this.createDate = createDate;
            }

            public int getIfPraise() {
                return ifPraise;
            }

            public void setIfPraise(int ifPraise) {
                this.ifPraise = ifPraise;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public String getRepContent() {
                return repContent;
            }

            public void setRepContent(String repContent) {
                this.repContent = repContent;
            }

            public int getRepPraise() {
                return repPraise;
            }

            public void setRepPraise(int repPraise) {
                this.repPraise = repPraise;
            }

            public String getReplyId() {
                return replyId;
            }

            public void setReplyId(String replyId) {
                this.replyId = replyId;
            }

            public String getUserInfoId() {
                return userInfoId;
            }

            public void setUserInfoId(String userInfoId) {
                this.userInfoId = userInfoId;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public String getUserhead() {
                return userhead;
            }

            public void setUserhead(String userhead) {
                this.userhead = userhead;
            }
        }
    }
}
